package com.piece.core.authentication.exception;

import com.piece.core.framework.constant.ExceptionAuthConstants;
import com.piece.core.framework.util.basic.I18nUtil;
import org.springframework.security.core.AuthenticationException;

/**
 * 客户端异常类
 */
public class ClientException extends AuthenticationException {

    public ClientException() {
        super(I18nUtil.message(ExceptionAuthConstants.CLIENT_INVALID));
    }

    public ClientException(String message) {
        super(message);
    }
}
